package com.zjitc.model;/**
 * Create by IntelliJ IDEA
 *
 * @author: MaoYongQi
 * @date-Time: 2018/3/27 18:52
 * @description:
 */

import java.math.BigInteger;
import java.util.Date;
import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: MaoYongQi
 * @date-Time: 2018/3/27 18:52
 * @description:
 */
public class Order {

  private Integer orderId;
  private BigInteger orderNo;
  private Integer userId;
  private Integer shippingId;
  private Double payment;
  private Integer paymentType;
  private Integer postage;
  private Integer status;
  private Date paymentTime;
  private Date sendTime;
  private Date endTime;
  private Date closeTime;
  private Date createTime;
  private Date updateTime;

  private User user;
  private Shipping shippingVo;
  private List<OrderItem> orderItemVoList;

  public Order() {

  }

  public Order(Integer orderId, BigInteger orderNo, Integer userId, Integer shippingId,
      Double payment, Integer paymentType, Integer postage, Integer status,
      Date paymentTime, Date sendTime, Date endTime, Date closeTime, Date createTime,
      Date updateTime) {
    this.orderId = orderId;
    this.orderNo = orderNo;
    this.userId = userId;
    this.shippingId = shippingId;
    this.payment = payment;
    this.paymentType = paymentType;
    this.postage = postage;
    this.status = status;
    this.paymentTime = paymentTime;
    this.sendTime = sendTime;
    this.endTime = endTime;
    this.closeTime = closeTime;
    this.createTime = createTime;
    this.updateTime = updateTime;
  }

  public Integer getOrderId() {
    return orderId;
  }

  public void setOrderId(Integer orderId) {
    this.orderId = orderId;
  }

  public BigInteger getOrderNo() {

    return orderNo;
  }

  public void setOrderNo(BigInteger orderNo) {
    this.orderNo = orderNo;
  }

  public Integer getUserId() {
    return userId;
  }

  public void setUserId(Integer userId) {
    this.userId = userId;
  }

  public Integer getShippingId() {
    return shippingId;
  }

  public void setShippingId(Integer shippingId) {
    this.shippingId = shippingId;
  }

  public Double getPayment() {
    return payment;
  }

  public void setPayment(Double payment) {
    this.payment = payment;
  }

  public Integer getPaymentType() {
    return paymentType;
  }

  public void setPaymentType(Integer paymentType) {
    this.paymentType = paymentType;
  }

  public Integer getPostage() {
    return postage;
  }

  public void setPostage(Integer postage) {
    this.postage = postage;
  }

  public Integer getStatus() {
    return status;
  }

  public void setStatus(Integer status) {
    this.status = status;
  }

  public Date getPaymentTime() {
    return paymentTime;
  }

  public void setPaymentTime(Date paymentTime) {
    this.paymentTime = paymentTime;
  }

  public Date getSendTime() {
    return sendTime;
  }

  public void setSendTime(Date sendTime) {
    this.sendTime = sendTime;
  }

  public Date getEndTime() {
    return endTime;
  }

  public void setEndTime(Date endTime) {
    this.endTime = endTime;
  }

  public Date getCloseTime() {
    return closeTime;
  }

  public void setCloseTime(Date closeTime) {
    this.closeTime = closeTime;
  }

  public Date getCreateTime() {
    return createTime;
  }

  public void setCreateTime(Date createTime) {
    this.createTime = createTime;
  }

  public Date getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(Date updateTime) {
    this.updateTime = updateTime;
  }

  public User getUser() {
    return user;
  }

  public void setUser(User user) {
    this.user = user;
  }

  public Shipping getShippingVo() {
    return shippingVo;
  }

  public void setShippingVo(Shipping shippingVo) {
    this.shippingVo = shippingVo;
  }

  public List<OrderItem> getOrderItemVoList() {
    return orderItemVoList;
  }

  public void setOrderItemVoList(List<OrderItem> orderItemVoList) {
    this.orderItemVoList = orderItemVoList;
  }
}
